package io.gps.datatransfer.task.taskentity;

import io.gps.datatransfer.CenterChannel;

public class ConnectWork implements Runnable  {

    CenterChannel centerChannel;
    /**
     * 批量执行数据解析
     * @param centerChannel
     */
    public ConnectWork(CenterChannel centerChannel) {
        this.centerChannel = centerChannel;
    }
    @Override
    public void run() {
        try {
            centerChannel.Login();
        } catch (Exception ie) {
            ie.printStackTrace();
        }
    }
}